package jpg2.jpg2zad3;

/**
 * Autor: Daniel Michalski
 * Data: 05.07.13
 */

public class A {
    public static int print1() { return 1; }
    public int print2() { return  1; }
    protected int print3() { return 1; }
    int print4() { return 1; }
    private int print5() { return 1; }

    public int m1() {
        // return wszystkie metody
        return 0;
    }
}

class B extends A {
    public int m1() {
        // return wszystkie oprócz private
        return 0;
    }
}
